sign

pure function sign(): integer

Returns the sign of the integer: -1 if negative, 0 if zero, and 1 if positive.

Since

0.6.0